package top.arwtec.mcm.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户信息
 * @author liyin
 */
@EqualsAndHashCode(callSuper = true)
@TableName("user")
@Data
public class UserInfo extends BaseEntity{
    private Long id;
    private String username;
    private String userNick;
    private Integer sex;
    private String phone;
    private String mail;

    @TableField(exist = false)
    private UserPassword userPassword;
}
